package com.coderman.bean;

/**
 * Created by ${fanchunshuai} on 2017-6-27.
 *
 * @version: V1.0
 * @Desc: 数据库连接配置 bean描述
 * @Copyright (c) 2017 58到家-版权所有
 */
public class DataBaseBean {
    private Long id;

    //用户名
    private String username;
    //密码
    private String password;
    //数据库 连接地址 域名
    private String dbDomain;
    //数据库名称
    private String dbName;

    private Integer status;

    private String port;

    private String charSet;



    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getDbDomain() {
        return dbDomain;
    }

    public void setDbDomain(String dbDomain) {
        this.dbDomain = dbDomain;
    }

    public String getDbName() {
        return dbName;
    }

    public void setDbName(String dbName) {
        this.dbName = dbName;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCharSet() {
        return charSet;
    }

    public void setCharSet(String charSet) {
        this.charSet = charSet;
    }

    public String getPort() {
        return port;
    }

    public void setPort(String port) {
        this.port = port;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }


    @Override
    public String toString() {
        return "DataBaseBean{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", dbDomain='" + dbDomain + '\'' +
                ", dbName='" + dbName + '\'' +
                ", status=" + status +
                ", port='" + port + '\'' +
                ", charSet='" + charSet + '\'' +
                '}';
    }
}
